
package com.wake.widget.skin.handler;

import android.content.res.ColorStateList;
import android.view.View;

import com.wake.widget.qqface.NMUIQQFaceView;
import com.wake.widget.skin.NMUISkinHelper;

import org.jetbrains.annotations.NotNull;

public class NMUISkinRuleMoreTextColorHandler extends NMUISkinRuleColorStateListHandler {

    @Override
    protected void handle(@NotNull View view, @NotNull String name, ColorStateList colorStateList) {
        if (view instanceof NMUIQQFaceView) {
            ((NMUIQQFaceView) view).setMoreActionColor(colorStateList);
        }else{
            NMUISkinHelper.warnRuleNotSupport(view, name);
        }
    }
}
